package com.ekuaitu.kuaitustaff.activity;

import com.ekuaitu.kuaitustaff.R;
import com.ekuaitu.kuaitustaff.base.BaseActivity;
import com.ekuaitu.kuaitustaff.utils.AppManager;
import com.ekuaitu.kuaitustaff.widget.SearchPositionView;

import butterknife.BindView;

public class SearchParkActivity extends BaseActivity implements SearchPositionView.FinishActivity {

    @BindView(R.id.search_park)
    SearchPositionView searchPark;

    @Override
    public int getLayoutId() {
        return R.layout.activity_search_park;
    }

    @Override
    public void initView() {
        searchPark.setFinishActivity(SearchParkActivity.this);
        searchPark.setSearchViewText(getIntent().getStringExtra("content") + "");
    }

    @Override
    protected void initData() {

    }

    @Override
    public void finishActivity() {
        AppManager.getAppManager().finishActivity(this);
    }
}
